import React,{useContext} from 'react'
import MyContext from '@/MyCxt'
export default function Child() {
  const info=useContext(MyContext)
  return (
    <div>
        <div>子组件</div>
        <div>info:{info}</div>
    </div>
  )
}
